{:$value[ifshare]}<script type="text/javascript">
<!-- if($value[ifshare]==1) -->
var editor = new UE.ui.Editor(); 
editor.render("field_text_cn_{:$value[sign]}");

<!-- else -->
<!--if($system[jianti] == on) -->
var editor = new UE.ui.Editor(); 
editor.render("myEditor");
<!-- end -->

<!--if($system[english] == on) -->
var editor_en = new UE.ui.Editor(); 
editor_en.render("myEditor_en");
<!-- end -->

<!--if($system[fanti] == on) -->
var editor_ft = new UE.ui.Editor(); 
editor_ft.render("myEditor_ft");
<!-- end -->
<!-- end -->

/***********************************/

var rlink = get_url();
var base = new Base64();
var relink = base.encode(rlink);
function ifeditor(eid)
{
	url = "{:$mainlink}?file=editor&eid="+eid+"&act={:$act}&sysgroupid={:$sysgroupid}&id={:$id}&rlink="+relink;
	tip_confirm("确认切换编辑器吗？未保存的数据将会丢失！",url);
}
</script>

<!-- if($value[ifshare]!=1) -->{:$value[ifshare]}
<div class="menu1box">
  <ul id="menu1">
    <li class="hover" onclick="setTab(1,0)"><a href="javascript:void(0)">简体内容</a></li>
    <!-- if($system[english] == on) --><li onclick="setTab(1,1)"><a href="javascript:void(0)">英文内容</a></li><!-- end -->
    <!-- if($system[fanti] == on) --><li onclick="setTab(1,2)"><a href="javascript:void(0)">繁体内容</a></li><!-- end -->
    <div class="clear"></div>
  </ul>
</div>
<!-- end -->

<div class="main1box">
  <div class="main" id="main1">
    <dl class="block">
      <textarea id="myEditor" name="myEditor">{:$content}</textarea>
      <input type="hidden" name="content" id="content" />
    </dl>
    <!--if($system[english] == on) -->
    <dl>
      <textarea id="myEditor_en" name="myEditor_en">{:$content_en}</textarea>
      <input type="hidden" name="content_en" id="content_en" />
    </dl>
    <!-- end -->
    <!--if($system[fanti] == on) -->
    <dl>
      <textarea id="myEditor_ft" name="myEditor_ft">{:$content_ft}</textarea>
      <input type="hidden" name="content_ft" id="content_ft" />
    </dl>
    <!-- end -->
  </div>
</div>